import React from 'react';
import {withHoc,withHoc2,withHoc3} from "../hoc";

function One(props) {
    return (
        <div>
            <h3>One</h3>
            <p>{props.a}</p>
            <p>{props.b}</p>
        </div>
    );
}
// export default withHoc(One);
// export default withHoc2(One,10,20);
export default withHoc3(100,200)(One);